package com.wf.pattern.observer;

/**
 * 功能描述
 *
 * @since 2021/10/30
 */
public class ConcreteSubject extends Subject{

    @Override
    public void notifyObserver() {
        System.out.println("具体目标发生改变");
        System.out.println("==============");

        for (Observer observer : observers) {
            observer.response();
        }
    }
}
